import select from './select/index.js'
import table from './table/index.js'
import info from './info/index.js'
import modal from './modal/index.js'
import image from './image/index.js'
import dtLoading from './loading/dt-loading.vue'
import dtAutio from './dtAutio/index'
import dtCropper from './dtCropper/index'
import dtIframe from './dtIframe/index.js'
import editor from './editor/index.vue'
import VueDraggableResizable from 'vue-draggable-resizable'
import 'vue-draggable-resizable/dist/VueDraggableResizable.css'

function mixin(Vue) {
  select.mixin(Vue)
  table.mixin(Vue)
  info.mixin(Vue)
  modal.mixin(Vue)
  image.mixin(Vue)
  dtAutio.mixin(Vue)
  dtIframe.mixin(Vue)
  dtCropper.mixin(Vue)
  Vue.component('dt-editor', editor)
  Vue.component('dt-loading', dtLoading)
  Vue.component('vue-draggable-resizable', VueDraggableResizable)
}

export default {
  mixin
}
